#pragma once

#include <exception>
#include <string>

struct ViewerException: std::exception {

	ViewerException(const std::string &message)
      : message(message)
    {}
	virtual ~ViewerException() throw()
    {}
	const char* what() const throw()
    { return message.c_str(); }
private:
	std::string message;
};
